from django.urls import path
from .views import (
    PostListView,
    # PostDetailView,
    PostCreateView,
    # PostUpdateView,
    # PostDeleteView,
    # UserPostListView
)
from . import views

urlpatterns = [
    path('post/list/', PostListView.as_view(), name='file-list'),
    # path('user/<str:username>', UserPostListView.as_view(), name='user-posts'),
    # path('post/<int:pk>/', PostDetailView.as_view(), name='post-detail'),
    path('post/new/', PostCreateView.as_view(), name='post-create'),
    # path('post/<int:pk>/update/', PostUpdateView.as_view(), name='post-update'),
    # path('post/<int:pk>/delete/', PostDeleteView.as_view(), name='post-delete'),
    # path('media/Files/<int:pk>',PostDeleteView.as_view(),name='post-delete' ),
    # path('search/',views.search,name='search' ),
    # path('about/', views.about, name='blog-about'),
]
